package org.example.model;

import org.example.constants.FruitConstants;

public class Apple extends Fruit {
    public Apple() {
        super(FruitConstants.APPLE_PRICE_PER_JIN);
    }

    @Override
    public double calculatePrice(int weight) {
        return pricePerJin * weight;
    }
}
